/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let IconPlane = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1088 1024" width={size} height={size} {...rest}>
      <Path
        d="M294.4 499.2l-256 172.8c-19.2 12.8-38.4 6.4-25.6-19.2l38.4-153.6-38.4-153.6c-6.4-25.6 6.4-32 25.6-19.2l256 172.8z"
        fill={getIconColor(color, 0, '#347EE8')}
      />
      <Path
        d="M147.2 396.8h838.4c57.6 0 96 44.8 96 96 0 57.6-44.8 96-96 96H147.2C89.6 588.8 51.2 544 51.2 492.8s44.8-96 96-96z"
        fill={getIconColor(color, 1, '#347EE8')}
      />
      <Path
        d="M396.8 102.4C390.4 44.8 396.8 0 409.6 0H448c12.8 0 51.2 44.8 83.2 102.4L704 396.8c32 57.6 19.2 102.4-25.6 102.4H556.8c-51.2-6.4-96-44.8-102.4-102.4l-57.6-294.4zM396.8 896c-12.8 57.6-6.4 102.4 6.4 102.4H448c12.8 0 51.2-44.8 83.2-102.4L704 601.6c32-57.6 19.2-102.4-25.6-102.4H556.8c-51.2 6.4-96 44.8-102.4 102.4L396.8 896z"
        fill={getIconColor(color, 2, '#347EE8')}
      />
    </Svg>
  );
};

IconPlane.defaultProps = {
  size: 18,
};

IconPlane = React.memo ? React.memo(IconPlane) : IconPlane;

export default IconPlane;
